home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / person / daysto.zip / DAYSTO.DOC next >
Text File  |  1992-02-04  |  4KB  |  73 lines

  1.                         **** DAYS TO ****
  2.                             (Ver. 2.4)
  3.  
  4.         DAYS TO ver. 2.x is the QuickBASIC version of the initial
  5. BASIC program called DAYS.BAS or the compiled form DAYS.EXE.  It adds
  6. another floating holiday (Memorial Day) and fixes a couple of minor
  7. bugs in DAYS.  Version 2.1  fixed a bug in ver. 2.0 which caused
  8. the "days to end of summer" to be negative if the date in September 
  9. were after the 22nd.  Version 2.2 added an enhanced display; version
  10. 2.3 adds the number of days since the beginning of the year to the
  11. display and changes the date display format.  Version 2.4 adds
  12. configurability so the user can select the mode of termination.
  13.  
  14.         DAYS TO is a program which is designed to be used in your
  15. AUTOEXEC.BAT file.  The purpose of DAYS TO is to provide you, upon
  16. boot-up, with today's date as well as the number of days remaining
  17. to the next holiday.  The number of days until Christmas is also
  18. provided (so you can start shopping early!).  If the current date
  19. is a holiday, it will greet you with the appropriate message.
  20.  
  21.         To run, simply type DAYSTO at the DOS prompt.  Edit your
  22. AUTOEXEC.BAT file to include DAYSTO in order to be greeted daily with
  23. the upcoming holiday message.  DAYS TO also accounts for the "floating"
  24. holidays, Memorial Day, Labor Day and Thanksgiving.
  25.  
  26.  
  27. CONFIGURATION
  28.         When the program is run for the first time, you will be
  29. asked to select one of three options which, when selected, will
  30. be written to a configuration file, DAYSTO.CFG.  The options
  31. allow you to select the mode of program termination.  
  32.         Selecting option 1 causes the program to prompt you to
  33. press enter after the run is complete.  This option can be used if
  34. you would like plenty of time to read the information before
  35. proceding.  The drawback is that it requires user interaction before
  36. your autoexec.bat file can continue.  The second option inserts a
  37. 5-second delay at termination to give you time to read the information
  38. onscreen before autoexec.bat resumes.  The third option causes the
  39. program to terminate immediately with no pause.
  40.  
  41. COMMAND LINE OPTIONS
  42.         To change your configuration file, delete DAYSTO.CFG at
  43. the DOS prompt and run the program again.  If the program
  44. terminates improperly, it may be because the DAYSTO.CFG file has
  45. been corrupted.  Simply delete it and re-run DAYSTO.EXE.  To
  46. delete the configuration file, simply go into DOS (black screen
  47. with flashing prompt) and type:  DEL DAYSTO.CFG    Be careful NOT
  48. to delete the DAYSTO.EXE program file.
  49.         You can also override the configuration by typing a 1, 2,
  50. or 3 after the filename on the command line.  For example:
  51.  
  52.      DAYSTO 2  (No delimiters)
  53.  
  54. In this example the program will terminate after a 5-second delay
  55. regardless of what the configuration file says.  You can eliminate 
  56. the need of having a configuration file by using the command 
  57. line argument on your first and each successive run of the program.
  58.  
  59.  
  60.         This program is Shareware.  If you use it, you must register
  61. it with the author--Jerry Wilson.  Send $10 to:
  62.                          
  63.                           Jerry Wilson
  64.                           P.O. Box 73
  65.                           Edinburgh, IN 46124
  66.  
  67.         Registered users will receive future updates, the QuickBASIC
  68. source code, plus additional programs from the author.
  69.         Also, if you register, you may include the names and birthdates
  70. of up to four people.  I will modify the code to include a Happy Birthday
  71. message on their birthday!
  72.  
  73.